﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using Common;

namespace DotNetCSharp
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            var win = Utility.FindWindow(args[0]);
            var fuxi = new FuxiType();
            AgentType agent = new AgentType(fuxi, win);
            fuxi.Agent = agent;
            agent.Start();
        }
    }
}
